<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Encore\Admin\Traits\AdminBuilder;
use Encore\Admin\Traits\ModelTree;
use App\Models\Class_type;
use App\Models\Test_config;
use App\Models\Test_report;
use App\Models\Student_test_score;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;

class Squad_crouse extends Model
{
    public $timestamps = false;

    protected $table = 'squad_crouses';
    //
    protected $fillable = [
        'squad_id','crouse_id'
    ];

    public function Squad()
    {
        return $this->belongsTo(Squad::class, 'squad_id');
    }

/*    public function crouse()
    {
        return $this->belongsToMany(Crouse::class, 'crouse_id');
    }*/
}
